# CMake 最低版本号要求
cmake_minimum_required(VERSION 3.5.0)

# 项目信息
# Todo: 修改为你的项目名称
project(template-cpp-vscode)

# 输出路径
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin/${CMAKE_BUILD_TYPE})
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib/${CMAKE_BUILD_TYPE})

# 搜索头文件
include_directories(${PROJECT_SOURCE_DIR}/include)

# 搜索源文件
aux_source_directory(${PROJECT_SOURCE_DIR}/src SRC_FILES)

# 添加可执行文件
add_executable(${PROJECT_NAME} ${SRC_FILES})
